<ion-modal-view class="side-menu">
    <ion-header-bar>
        <ion-item class="item-thumbnail-left user-info">
            <img ng-src="{{data.user.Image || 'img/default.png'}}">
            <div>{{data.user.Name}}</div>
            <div>{{data.user.Department.Name}}</div>
        </ion-item>
    </ion-header-bar>
    <ion-content>
        <ion-list>
            <ion-item class="item-thumbnail-left fn-item">
                <img ng-src="img/icon_register.png">
                <span>注册</span>
            </ion-item>
            <ion-item class="item-thumbnail-left fn-item">
                <img ng-src="img/icon_link.png">
                <span>连接设置</span>
            </ion-item>
            <ion-item class="item-thumbnail-left fn-item" ng-click="portSetting()">
                <img ng-src="img/icon_setting.png">
                <span>设置</span>
            </ion-item>
            <ion-item class="item-thumbnail-left fn-item" ng-click="signout()">
                <img ng-src="img/icon_signout.png">
                <span>注销</span>
            </ion-item>
        </ion-list>
    </ion-content>
</ion-modal-view>